package com.yuelan.apartment.mapper;

import com.yuelan.apartment.domain.RentPayOrder;
import com.yuelan.apartment.domain.RentOrder;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @description:
 * @Author: ZhaoYi
 * @date: 24-6-22 6:49
 */
@Repository
public interface RentManageMapper {

    /**
     * 新增租金订单
     */
    int insertRentOrder(RentOrder rentOrder);

    /**
     * 查询所有租金订单
     */
    List<RentOrder> selectRentOrderList(Long id);

    /**
     * 查询租金订单
     */
    RentOrder selectRentOrdersById(Long id);

    /**
     * 新增租金支付订单
     */
    int insertRentPayOrder(RentPayOrder rentPayOrder);


}
